import os

images_path = "./images"
video_name = "./video/output.mp4"
fps = 30

os.system(
    f'ffmpeg -y -framerate {fps} -i "{images_path}/%d.jpg" -c:v libx264 -r {fps} -pix_fmt yuv420p "{video_name}"'
)
